package TripleTable;

import SeqList.SeqList;

public interface ITripleTable<T>{
    boolean isEmpty();
    int getWeight(int row,int col);
    void set(int row,int col,int weight);
    int length();
    void insert(int row,int col,int weight);
    void remove(int row,int col);
    void removeAll();
    SeqList getData();
    Object[] searchNear(int id);
    Object[] searchAll(int id1,int id2);
    Object[] searchShortest(int id1,int id2);
}
